package com.xiaobai.netease_news.model;

import org.json.JSONObject;

/**
 * Created by Administrator on 2015/6/25 0025.
 */
public class VideoData {

    private String commentid;
    private String ref;
    private String topicid;
    private String cover;
    private String alt;
    private String url_mp4;
    private String broadcast;
    private String commentboard;
    private String appurl;
    private String url_m3u8;
    private String size;

    public void parseJSON(JSONObject json) {
        commentid = json.optString("commentid");
        ref = json.optString("ref");
        topicid = json.optString("topicid");
        cover = json.optString("cover");
        alt = json.optString("alt");
        url_mp4 = json.optString("url_mp4");
        broadcast = json.optString("broadcast");
        commentboard = json.optString("commentboard");
        appurl = json.optString("appurl");
        url_m3u8 = json.optString("url_m3u8");
        size = json.optString("size");
    }

    public String getCommentid() {
        return commentid;
    }

    public String getRef() {
        return ref;
    }

    public String getTopicid() {
        return topicid;
    }

    public String getCover() {
        return cover;
    }

    public String getAlt() {
        return alt;
    }

    public String getUrl_mp4() {
        return url_mp4;
    }

    public String getBroadcast() {
        return broadcast;
    }

    public String getCommentboard() {
        return commentboard;
    }

    public String getAppurl() {
        return appurl;
    }

    public String getUrl_m3u8() {
        return url_m3u8;
    }

    public String getSize() {
        return size;
    }
}
